package com.fusetech.test.demo.designPatterns.supportService;

import org.springframework.stereotype.Service;

/**
 * @author Liuwq
 * @e-mail 610207151@qq.com
 * @date 2023/6/23
 */
@Service
public class AService extends FunService {
    @Override
    public void callBack() {
        System.out.println("callBack");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        FunFactory.register("A", this);
    }

   /* @Override
    public void fun1() {
        System.out.println("A的方法1");
    }

    @Override
    public void fun2() {
        System.out.println("A的方法2");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        FunFactory.register("A", this);

    }*/
}
